package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类
 *
 * @author donghang
 * @since 2020-03-16
 */
@Data
@TableName("opc_suggestion")
@ApiModel(value = "Suggestion对象", description = "Suggestion对象")
public class Suggestion implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 主键
	*/
		@ApiModelProperty(value = "主键")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long id;
	/**
	* 邮箱
	*/
		@ApiModelProperty(value = "邮箱")
		private String mail;
	/**
	* 公司名
	*/
		@ApiModelProperty(value = "公司名")
		private String orgaName;
	/**
	* 留言类型
	*/
		@ApiModelProperty(value = "留言类型")
		private String type;
	/**
	* 标题
	*/
		@ApiModelProperty(value = "标题")
		private String title;
	/**
	* 内容详情
	*/
		@ApiModelProperty(value = "内容详情")
		private String content;
	/**
	* 状态0未读/未解决1已读/已解决
	*/
		@ApiModelProperty(value = "状态0未读/未解决1已读/已解决")
		private Integer status;
	/**
	* 删除标志
	*/
		@ApiModelProperty(value = "删除标志")
		private Integer isDeleted;
	/**
	* 创建时间
	*/
		@ApiModelProperty(value = "创建时间")
		private Date createTime;
	/**
	* 留言人，未登录为0
	*/
		@ApiModelProperty(value = "留言人，未登录为0")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long opcUserId;
	/**
	* 回复时间
	*/
		@ApiModelProperty(value = "回复时间")
		private Date replyTime;
	/**
	* 回复人
	*/
		@ApiModelProperty(value = "回复人")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long replyUser;
	/**
	* 回复内容
	*/
		@ApiModelProperty(value = "回复内容")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private String replyContent;
	/**
	* 回复人
	*/
		@ApiModelProperty(value = "回复状态")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Integer replyFlag;

}
